<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
            var date = new Date();
            date.setFullYear('2025')
            date.setMonth('10')
            date.setDate('11')
            // date.setHours('00')
            // date.setMinutes('00')
            // date.setSeconds('00')
            console.log(date.getFullYear()+'年'+(date.getMonth()+1) +'月'+date.getDate()+'日'+'是星期:'+date.getDay())
            var time = new Date();
            console.log('当前时间:'+time.getFullYear()+'年'+(time.getMonth()+1) +'月'+time.getDate()+'日')
            console.log('距离2025年双十一还有：'+(parseInt((date.getTime()-time.getTime())/(24*60*60*1000))) +'天')
            console.log('距离2025年双十一还有：'+(date.getTime()-time.getTime()) +'毫秒')
    </script>
</body>
</html>